package com.hucais.utils;

import cn.hutool.setting.dialect.Props;
import cn.hutool.setting.dialect.PropsUtil;

public class DefaultPropertiesUtil {

    private static final Props props = PropsUtil.get("application.properties");

    /**
     * 根据key读取对应的value
     *
     * @param key
     * @return
     */
    public static String get(String key) {
        return props.getStr(key);
    }
}
